<%  remote_form_for @new_rating, :url => {:action => "create_rating" } do |f| %>

  <%= f.error_messages %>
<p>
  <b>Rating:</b><br />
  <%= f.select :rating, [ ["0","0"],
                          ["1","1"],
                          ["2","2"],
                          ["3","3"],
                          ["4","4"],
                          ["5","5"],
                          ["6","6"],
                          ["7","7"],
                          ["8","8"],
                          ["9","9"],
                          ["10","10"] ]  %>
  <%= f.hidden_field :recipe_id %>
  <%= f.hidden_field :user_id %>
</p>

<p>
  <%= f.submit "Submit" %>
</p>
<% end %>
